package cn.ac.jaas.isc.vegetable.pbms.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * @author 张高昌
 * @date 2022/6/12 16:11
 * @description: 功能描述
 */
@Data
public class GroupIdAndDeviceIdVO {

    @NotNull(message = "分组id不能为空")
    @ApiModelProperty(value = "分组id")
    private Integer groupId;

    @NotEmpty(message = "装置集合不能为空")
    @ApiModelProperty(value = "装置ids")
    private Integer[] deviceIds;
}
